import { get, post } from '@/utils/request'

export function getList(params) {
  return get('/api/currencyList',
    params)
}

export function roleList() {
  return get('/sysUser/roleNameList.json')
}

export function deleteUser(id) {
  return post('/sysUser/delAuthRole.json', { id: id })
}

export function addUser(params) {
  return post('/sysUser/upAuthRole.json', params)
}

export function updateStatus(id) {
  return post('/sysUser/updateUserStatus.json', { id: id })
}

